4. tof timer usage
你好。
Hello.
在本教程中,我们将学习定时器、起义的关键,以及上一讲我们已经学习过的如何在定时器上使用,当输入打开并且在预设时间后它给出输出时?
In this tutorial, we will learn key of timer, insurrection and previous lecture we already learned how can we use on timer when the input is on and after a time preset time it was giving it output?
我正在谈论您自己的计时器,但现在我们将使用开球计时器。
I'm talking about your own timer, but now we will work with the tee off timer.
两者之间有一个重要的区别:计时器和开球计时器。
There's one important difference between the two on a timer and one tee off timer.
输入已启用。
Input is enabled.
当我们听到设定的时间(例如秒)时,钥匙关闭计时器开始像当前时间一样计数。
Key off timer is starting to count count like a present time when we hear a set time, for example for second.
会发生什么?
What will happen?
会算的,但是。
It will count, but.
我刚才设置错了,抱歉。
I just set a wrong thing, sorry.
当输入打开时,它不会计数。
When input is on, it is not going to count.
加上一个输入条件就算OK了,测试一下你会说真的很好用。
One input condition becomes on top of it will count OK, and let's test it and you will say it is really easy to use.
例如,我今年 25 岁,我会将其放在这里。
For example, L am 25 and I will put it to here.
好吧。
And okay.
想要更多地听到这个吗?
Want more to hear this?
例如,定义 7 秒,输出可以为 30。
Define, for example, seven second and the output can be 30.
像这样?
Like this?
好的。
OK.
这里我们可以使用定时器的触点关闭一处按键。
And here we can use the contact of the timer the key off one point.
提示我们可以像这样激活和交谈。
Cue that we can activate and talk like that.
我们现在可以转换它。
And we can convert it now.
相当残酷。
Pretty brutal.
好吧,它正在转换。
And OK, it's converting.
然后我会上网模拟会发生什么,我将启用M25,首先,让我们注册观看窗口,然后我将其打开。
Then I will go online to simulated what will happen, I will enable M25 and firstly, let's register to watch window and I will make it on.
然后你会看到我们突然有一个输出,但现在还没有计数。
Then you will see we have suddenly an output, but it is not counting now.
好的,仍然想要零毫秒吗?
OK, still want zero milliseconds?
通常,使用调谐计时器,当我激活输入时,它必须计数正常,并在需要给出输出的时间之后,但你的时间突然被放弃了。
Normally, with the tune timer, when I activate the input, it must count OK and after the time it needs to give an output, but your time is suddenly given up.
这是定时器调整之间的第一个区别,但也是另一件事,如果 M25 处于最高状态,您将看到输出在七秒后仍然保持不变,设置的时间被重置。
This is the first difference between tuning of timers, but also another thing if M25 is falls on top condition, you will see the output is still remain and true after a seven second, the set time it is reset.
好的。
OK.
这就是之间的区别。
This is the difference between.
你在时间的尽头。
You on end of time.
现在我们有一个输出。
Now we have an output.
想象一下,您想在按下停止按钮后停止系统,您想在 10 秒后停止任务,好吗?
Imagine you want to stop your system after you press a stop button, you want to stop your mission after 10 seconds, OK?
您如何对计时器执行此操作?
How can you do this to your timer?
那么可以帮助你。
Can help you then.
现在机器运行正常,有人按下停止按钮。
Now the machine is running OK and somebody is pressing the stop button.
然后想象这是一个集合,我将为你制作一个程序。
Then imagine this is a set and I will make it a program for you.
让我,嗯,我在这里插入。
Just let me, um, here I will insert.
我只是在做一件事,好吧,我可以写在这里。
I'm just working one thing, OK, I can write here.
L d,pm 一。
L d, p m one.
哦。
Oh.
这样的生活我们需要插入到这里。
Life like that we need to insert to here.
嗯,我能找到。
Um, I can find it.
他想要一个这样的角色,好吗?
He sought a role like that, OK?
还有自民党和一套OK。
And LDP and one OK set.
我二十五岁了,其中一个时间已经结束了。
I'm twenty five, and one of is time was finished.
我会重新开始,我二十五岁了,好吗?
I will reset, I'm twenty five, okay?
这是我的开始按钮。
And this is my start button.
你可以这样想,并且。
You can think it like that and.
它正在转换一个项目。
It is converting a project.
我现在就去网上刺激一下。
I will go online to stimulate and now.
已经很接近了
It's close it.
好吧,有人会去。
OK, somebody is going to.
现在按开始按钮。
Press a Start button now.
好的。
OK.
其中一些按下启动并释放他的帽子,机器现在正在运行,嗯。
Some of these press start and release his hat and the machine is now running, um.
抱歉,出了什么问题,接下来会发生什么?
Sorry, what is wrong and what is going to be on?
M25 正在重置。
M25 is resetting.
这里出了点问题,我只是在寻找和搜索一个项目。
And something is wrong here, I'm just looking and searching a project.
断断续续地。
Off and on.
突然,它正在激活输出。
Suddenly, it is activating the output.
而且是5月25日重置,我去看看。
And it is resetting May 25, I will take a look was.
一合一处于活动状态,设置为 25,25 使其从假变为真。
One in one is active and 25 is set it and 25 which make it false to true.
呃,它给出的输出比重置的要多。
Uh, it is giving an output than it is resetting.
好的。
OK.
好的好的。
OK, OK.
我可以。
I could.
那么会发生什么呢?
So what will happen?
现在它正在重置这个输出,所以这将是我的输出,就像那样。
It is resetting now this output, so this is going to be my output, it will be like that.
我解决问题。
I solve the problem.
现在我该怎么办?
Now what will I do?
我就去写啥?
I will just go to write what?
然后我会指挥这条线。
Then I will direct this line.
好的?
OK?
让我吧。
Just let me.
但我们需要将这个重置为,嗯,三十五。
But we need to reset this one with like, um, thirty five.
好的。
OK.
和。
And.
我只会转换它。
I will just convert it.
停止模拟器,我将再次编写模拟器,我正在尝试做的事情,我将向您展示另一件事。
And stop a simulator, and I will write the simulator again, what I am trying to do, I will show you just one more thing.
有人按二加一。
And somebody is press two and one.
让我们把这一切都完成吧。
Let's make it all done.
您将看到 M25 5 已激活。
You will see M25 five is activated.
好的,现在发生了什么?
OK, and what's happening now?
M25活跃活跃,然后我们听到输出。
M25 is active and active, and then we hear an output.
好的,七个小时后机器现在可以运行了。
OK, the machine is running now after seven hours later.
您想在按下停止按钮后停止机器。
You want to stop your machine after you press stop button.
你想停止这个输出。
You want to stop this output.
想象一下这一个电机和另一个电机和另一个电机,六十七秒后,一个接一个地,你想把它们全部停止。
Imagine this one motor and other motor and other motor, and sixty seven seconds later, one by one, you want to stop them all.
你怎么能这样做呢?
How can you do this?
有人需要按下停止按钮。
And somebody needs to press stop button.
这是你的停靠站。
This is your stop.
想象一下,就像那样,我会吃掉它。
Imagine it's like that and I will eat it.
我今年 25 岁。
Here I am 25.
我会把它打开和关闭。
I will make it on and off.
好的,然后我按一次就重置了。
OK, then I press just one time it is reset it.
七秒后,它就会关闭,好吗?
So after seven seconds later, it will be off, OK?
这是第三次使用“我的故事到这里就结束了”。
This is the third time of usage for the story of I am finished here.
比勒陀利亚见。
See you in Pretoria.